package com.kgc.ssm.service;

import com.kgc.ssm.entity.Material;
import com.kgc.ssm.entity.Orders;
import com.kgc.ssm.entity.dto.OrderDTO;
import com.kgc.ssm.entity.dto.Result;

import java.util.List;

public interface OrderService {
   List<Material> findMaterial(String MaterialNum,int pageNum,int pageSize);
   long countMaterial(String MaterialNum);

   List<Material> findMaterialByIds(List MaterialIds, int pageNum, int pageSize);
   Long countFindMaterialByIds(List MaterialIds);
   int addOrder(Orders orders);
   public Result<List<OrderDTO>> getOrders(String materialNum, String materialName, String status, int pageNum, int pageSize);

}
